adds the ability to edit a post
moved new and edit forms to a partial