updated validation of email & username in the User model