adding ability to list all posts, pagination