Updated basic DB connect