RegistrationController formatted and documnted