added verification on team name and fixed a few bugs on the teambuilder