working with pgpass code