add some changes in the register view