IM cook among three held for militant links