Update ApplicationController.php