[Feature Improve] Team tab

1, Add input check
2, Add duplicate check
3, Remove unused functions