removed init() from indexController