Added the code for the inital view and for when a user wants to
register as a new user