add pagination method for dao_post