Remove unnecessary controller and configure routes properly.