When 'Sven' says what Barney Stinson does for a living, they ask,"Which of you is Barney Stinson, head of the search committee?" This explains how he got Ted a job so easily. It's mentioned at exactly 13 minutes and 11 seconds. The "Search Committee" is presumably for the new HQ building and a temporary assignment.