test login view