Handles the welcome mail delivery in after_save filter of user model, not in the controllers anymore.

This commit changes the current internal API, but it does not change the behavior of the app at all.
Validates uniqueness of user login inside the model, not only on database level.

The database already was set to unique login column, but the model never validated it. This commit fixes this.