Changed views based on logins status.