Update CustomRegistrationController.cs