add validation to email fields