complete teamregister function and show more info at index of teamgroup.