Changes made to sanitize parameters, so users can edit their profile