add teams functionality and connect teams with players