Fix bug in user create.
Refactor error.
Refactor user collection.