refactored registration form to use a partial