add join team functions