added postgresql db connection