Big security update

Everything should be secure now.