Added index action to cats controller.