US lawmakers have been banned from using Yahoo email after a series of hacking attempts