After the defeat of the 'caliphate' in Iraq and Syria, the so-called Islamic State group still poses a security threat in many countries