Category using sanitization libraries effectively code