update login view