adding db connection