Use the "he/him" test. If you can put the word "hiM" in the sentence, then whoM is answer word you want. If you must use HE, then choose WHO.