Changes to the PostController and related files in preparation for the post/edit page.