add a basic implemtation of pagination for completed and failed build lists.