created post resources and updated index and show views