Added client-side support for adding teams