adding changes to database.php by aaron
got search going