is_logged_in function

Check whether you're logged into a ScienceBase session