retireve posts with paging