Add pagination for articles and comments