Shouldn't this be `private $userRepository;` now? At least that's what you say in the paragraphs above.