Huge data breach prompts resignation of top US official