Check to see if users are logged in for certain site funtions