adding validation for team name uniqueness.