Bugfix isLoggedIn, specified entry point