Implemented XSS prevention