Worked on post controller for index and configured routes and view