update login and admin views