Changes to .pgpass and fix bug in models/index.js