Added actions and views for creating, storing and editing a post in the PostController