Adding a login view, partially functioning.