made a basic validation for the join group feature