Modify registrations_controller.