updated regex for email registration