getCompetitions

The main uses the function getCompetitions to display a list of the
current competitions.