Added DB connection callback