Add input sanitization