updating login view