testing if logged in