pagination for posts, search for users implemented