Snapchat tweaks security after massive hack