adding pagination for the documents