test if logged in7