[BugFix] fixing issue#2: added regex validation to email
changed regex to validate emails