login view working