Fix registration demo