Security Update

Expands escaping to secure against SQL injections