modified email/username validator in order to accept case insensitive email