Updated controller and routes.