Added paging functionality to EventController