Added a convenience method to see if a user is logged in