Added server endpoints for team management