added users db, config tweaks