Got initial registration working