Fix indexController added new functionality