created Post resource and updated index and show views