add ability to get list of posts