added the validation to the create group form