test if logged in9