updating views and login