moving postgres connection details fo cfg