How political regimes legitimate themselves via fight against terrorism