Trim whitespace from fields on registration