Fixed error when saving user profile
Merge pull request #159 from sergeyklay/user

Fixed error when saving user profile