Human rights while countering terrorism