This is wrong. the user id is not a username. and ``find()`` exists here as this code snippet shows a class extending ``Doctrine\ORM\EntityRepository``