add code on building registration system with knockout