made the team matches function simpler
forgot to use the API_BASE_URL variable insted of hardcoded url