made changes to the UserRegisterController