configurd to use DB