Added pre-population step in the RegistrationController. Added validation