Fixing a bug wich didn't allow users to edit their profile.
Merge pull request #652 from ngodfraind/bugfix

Fixing a bug wich didn't allow users to edit their profile.