Added new/create and edit/update actions to Posts Controller.