now user can save generated regiter.