You don't need $em->persist($user); here?