added pagination to document list page