Updated RegisterController