[jmdb] Adding an access log as middleware