Set up Login View.
Added a layer of abstraction