get registration working