Sanitize data in registration