update login view (2)