Added index controller to posts