Update registration_controller.php