basic functionality: list all posts, add a post