public ActionResult Index()
 {
     _model.SPHostUrl       = SharePointContext.GetRequestParameter(HttpContext.Request, "SPHostUrl");
     _model.SPLanguage      = SharePointContext.GetRequestParameter(HttpContext.Request, "SPLanguage");
     _model.SPClientTag     = SharePointContext.GetRequestParameter(HttpContext.Request, "SPClientTag");
     _model.SPProductNumber = SharePointContext.GetRequestParameter(HttpContext.Request, "SPProductNumber");
     helper.Logger.LogInfo("Home Controller - Index", () =>
     {
         User spUser = null;
         ExecuteWithContext(clientContext =>
         {
             spUser = clientContext.Web.CurrentUser;
             clientContext.Load(spUser, user => user.Title);
             clientContext.ExecuteQuery();
             ViewBag.UserName    = spUser.Title;
             ViewBag.UserIsAdmin = helper.SPAppHelper.Instance.CurrentUserIsAdmin(clientContext);
         });
     });
     return(View(_model));
 }