made changes to the app.php file to enable debugging