configure DB connection