added check for postgres user; issue #27