Added registration. Fixed MVC