add new team membership API endpoints