public function onLogin(WordpressEvent $event)
    {
        $wpUser = $event->getParameter('user');

        $user = $this->userManager->find($wpUser->data->ID);
        $user->setWordpressRoles($wpUser->roles);

        $token = new UsernamePasswordToken($user, $user->getPass(), $this->firewall, $user->getRoles());
        $this->tokenStorage->setToken($token);

        $this->session->set('_security_'.$this->firewall, serialize($token));
    }