Added comment to IndexController.php and updated .gitignore