Final update for class. Implemented the index and show actions of post controller with associated views