[Bug 864397] Added validation for the name field of the user model