Data base connection helper