Added DB connection api