fixes #3941 validation message for user email address

Fixed the issue and pushed the code for review, please check it.