Officials barred from replying on WhatsApp after hacking attempts