basic login view working