added localhost to db settings