test for already logged in user