public function setLoggedIn()
{
if ($this->tokenStorage->getToken() && ($this->authorizationChecker->isGranted('IS_AUTHENTICATED_FULLY') || $this->authorizationChecker->isGranted('IS_AUTHENTICATED_REMEMBERED'))) {
$this->isLoggedIn = true;
}
}