MVC-fied everything related to registration.