Corrected replication arguments.
We cannot create a new user, since one was already created and UID 1000 is in use.
A little bit of debug.
More logging..
Corrected doc.type for user
Updated calling conventions.
2.0.0
Will need working tests.