Add pagination within the tables