now sanitizes values from POST requests before storing them in the object