datasmart_erl; fixes in the registration flow