Correction on database.php for the jSON return