isAuthenticated user tests