play around with isLoggedIn