working validations for email invitation and branch creation
fixed merge