Validation and constraint in group model, title has to be unique