Refactored registration form into its own file.