Fixes User validation on updates.
Merge pull request #14 from sergii-tkachenko/fix-user-update-validation

Fixes User validation on updates.