Add Custom hook before writing a registration to splits out the first
name and the last name