Added user permission check to TeamController