Sanitizes user input