starting db connection