changes in registrations controller