class creation for only admins, class registration for only users