registration is validated