Remove extra code from homeController.js