changed the reroute to the homeController