created db connection utility