Check iof user logged in