Add pagination to app