little change in RegisterController