Add isLoggedIn() to security service