implementing RegistrationForm