edited database.php