Created Post resource and updatedthe index and show views