working connection to psql server