changed default home screen depending on whether user is logged in or not