Dynamically load appname and user
Updated to use the latest couchdb-audit plugin