public function onLogin(InteractiveLoginEvent $event)
	{

		$user = $event->getAuthenticationToken()->getUser();
		if ($user) {
			$user->setLastLogin(new \DateTime());
			$user->setLogins($user->getLogins() + 1);
			$this->em->persist($user);
			$this->em->flush();

			/*$request = $event->getRequest();
			$session = $request->getSession();

			if (null != $user->getPreferedLocale()) {
				$locale = $user->getPreferedLocale();
				$session->set('_locale', $locale->getPrefix());

			}*/
		}

	}