isLoggedIn is a method, not a property