listCompetitions and listCountries api implementation