update login view with password mask