Add pagination to lend page