add validation code whether team name exists or not.