Implement front end and refactor tests
Implement register page and refactor tests