checkAuth for teams