added teams endpoint