Added pagination to competitions page
Change logic of input of pagination links
Fixed conflicts in CompetitionController