Connecting the backend to Postgres