public function usernameExists($userName)
    {
        $existing = $this->em->getRepository(User::class)->findOneBy(
            [
                'username' => $userName,
            ]
        );

        return (bool) $existing;
    }