Added index page with list of posts, and added editing of posts.