Security Additions: sanitization of all user input and safe html