tidying up the registration form