ok. removed referencing teams by name. added ownership check when adding a team.