updated application.blade.php, ApplicationController.php