Add 'add_name' function when name field is empty during registration