updated controller, debugging route