test if logged in10