public ActionResult Update()
        {
            var userId = _userContext.GetAuthenticatedUserId();

            dynamic viewModel = new ExpandoObject();

            var user = _documentSession.Load <User>(userId);

            viewModel.User = _userViewModelQuery.BuildUpdateUser(userId);
            viewModel.TimezoneSelectList = GetTimeZones(null, user.Timezone);
            viewModel.LicenceSelectList  = new[]
            {
                new
                {
                    Text     = "All Rights Reserved",
                    Value    = " ",
                    Selected = user.DefaultLicence.Trim() == string.Empty
                },
                new
                {
                    Text     = "Attribution",
                    Value    = "BY",
                    Selected = user.DefaultLicence == "BY"
                },
                new
                {
                    Text     = "Attribution-Share Alike",
                    Value    = "BY-SA",
                    Selected = user.DefaultLicence == "BY-SA"
                },
                new
                {
                    Text     = "Attribution-No Derivative Works",
                    Value    = "BY-ND",
                    Selected = user.DefaultLicence == "BY-ND"
                },
                new
                {
                    Text     = "Attribution-Noncommercial",
                    Value    = "BY-NC",
                    Selected = user.DefaultLicence == "BY-NC"
                },
                new
                {
                    Text     = "Attribution-Noncommercial-Share Alike",
                    Value    = "BY-NC-SA",
                    Selected = user.DefaultLicence == "BY-NC-SA"
                },
                new
                {
                    Text     = "Attribution-Noncommercial-No Derivatives",
                    Value    = "BY-NC-ND",
                    Selected = user.DefaultLicence == "BY-NC-ND"
                }
            };

            return(RestfulResult(
                       viewModel,
                       "account",
                       "update"));
        }