AutoLoginListener issue

What I have done already I added \src\EventListener\UserAutoLoginListener.php and registered it in services.yaml with following code. But nothing happens after that

<?php

/*
 * This file is part of the Sylius package.
 *
 * (c) Paweł Jędrzejewski
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace App\EventListener;

use Sylius\Bundle\UserBundle\Security\UserLoginInterface;
use Sylius\Component\Core\Model\CustomerInterface;
use Sylius\Component\Resource\Exception\UnexpectedTypeException;
use Symfony\Component\EventDispatcher\GenericEvent;
use Symfony\Component\Security\Core\Exception\AccountStatusException;

/**
 * @author Łukasz Chruściel <lukasz.chrusciel@lakion.com>
 * @author Michał Marcinkowski <michal.marcinkowski@lakion.com>
 */
final class UserAutoLoginListener
{
    /**
     * @var UserLoginInterface
     */
    private $userLogin;

    /**
     * @param UserLoginInterface $userLogin
     */
    public function __construct(UserLoginInterface $userLogin)
    {
        $this->userLogin = $userLogin;
    }

    /**
     * @param GenericEvent $event
     */
    public function login(GenericEvent $event)
    {
        $customer = $event->getSubject();

        if (!$customer instanceof CustomerInterface) {
            throw new UnexpectedTypeException(
                $customer,
                CustomerInterface::class
            );
        }

        if (null === $user = $customer->getUser()) {
            return;
        }

        try {
            $user = $customer->getUser();
            $user->setEnabled(true);

            $this->userLogin->login($user);
        } catch (Exception $e) {
            // We simply do not authenticate users which do not pass the user
            // checker (not enabled, expired, etc.).
        }
    }
}