added subaction support in indexController