Connect to postgres db during user and db creation