Improve test about email address
Refactoring for User model