Added a Register View and the ability to switch between login and register.