modified app.php