deleted code and changed routes to use HomeController