renamed local db
fixed config var name for mongodb