initial commit
use dbconfig and external config
add for_each_user