title: Yii2 - exception 'yii\web\ForbiddenHttpException'
body: <p>When I logged in backend admin panel. It works fine but when I visit the link (eg: site.com/backend/web/site/manage-country) first time it won't show any error. If I visit the same link second time. It redirected to site.com and show this error. </p>
  
  <blockquote>
    <p>exception 'yii\web\ForbiddenHttpException' with message 'You are not
    allowed to perform this action.' in
    /home/kometonl/public_html/demo/vendor/yiisoft/yii2/filters/AccessControl.php:151</p>
  </blockquote>
  
  <p>After clearing the cookies. I'll get the normal site back.</p>
  
  <p>backend/controllers/SiteControllers.php</p>
  
  <pre><code>public function behaviors()
      {
          return [
              'access' =&gt; [
                  'class' =&gt; AccessControl::className(),
                  'rules' =&gt; [
                      [
                          'actions' =&gt; ['login', 'error'],
                          'allow' =&gt; true,
                      ],
                      [
                          'actions' =&gt; ['logout', 'index','manageCountry'],
                          'allow' =&gt; true,
                          'roles' =&gt; ['@'],
                      ],
                  ],
              ],
              'verbs' =&gt; [
                  'class' =&gt; VerbFilter::className(),
                  'actions' =&gt; [
                      'logout' =&gt; ['post'],
                  ],
              ],
          ];
      }
  </code></pre>
  
  <p>backend/config/main.php</p>
  
  <pre><code>'urlManager'=&gt; [
              'class' =&gt; 'yii\web\UrlManager',
              'enablePrettyUrl' =&gt; true,
              'showScriptName' =&gt; false,
              'rules' =&gt; [
  'site/manage-country' =&gt; 'site/managecountry',]
          ],
  </code></pre>