update HomeController and make the default home/index auto redirect to first api node.