Change how to handle duplicate user

Add to remove the elements of clients<> during the processing of duplicate user
Added log output
Merge pull request #29 from prologos/patch-8

Change how to handle duplicate user