added missing viewName and model name in controller flow