* added endpoint to tell whether a user is logged in or not