add config for postgres connection