diff --git a/lib/usersRepository.js b/lib/usersRepository.js
index <HASH>..<HASH> 100644
--- a/lib/usersRepository.js
+++ b/lib/usersRepository.js
@@ -43,7 +43,7 @@ module.exports = (reporter, admin) => {
       })

     }

 

-    reporter.documentStore.collection('users').beforeInsertListeners.add('users', async (doc) => {

+    reporter.documentStore.collection('users').beforeInsertListeners.add('users', async (doc, req) => {

       if (!doc.username) {

         throw reporter.createError('username is required', {

           statusCode: 400

@@ -77,7 +77,7 @@ module.exports = (reporter, admin) => {
         doc.password = passwordHash.generate(doc.password)

       }

 

-      const users = await reporter.documentStore.collection('users').find({ username: doc.username })

+      const users = await reporter.documentStore.collection('users').find({ username: doc.username }, req)

 

       if (users.length > 0) {

         throw reporter.createError('User already exists', {
fix not using req in the beforeInsertListeners that validates duplicated user

this fix bug about can not insert duplicated user when doing full import-export and user is already on store and also on the export zip