started /api/createpair and added /api/getteams