How do I determine if the user is logged in? I set the login status in the header so #ajax calls update the login status. Also I inject some #JavaScript into the page to set a variable with the login status so on page load I know.