testing logged in users