Move user privileges functions to user_ops.c, room access check functions to room_ops.c