added client to get a post's or page's comments and minor bug fixes in Models