set up a new connection for every db operations