Added validation to email address and name

for the User model
Extended validation around email