added postgres connection