added the registration form controller