added base links and pagination for events