Adding index action to index controller.