fix registrations_controller.rb