change view when user logIn