Added editing of posts and better detail page