made it matche the new api
cleanup unused code in HomeController