removed indexController and added viewcontroller to web configuration