Small refactoring about the user creation.
Merge pull request #6 from ngodfraind/send-mail-on-user-creation

Small refactoring about the user creation.