call setupConfig on logout to reset db.