update views when user logs in