got registration working