Check for user logged in