Move team and teamID stuff from resources to routes