public ActionResult Profile(string currentPassword, string newPassword, string confirmPassword)
        {
            var viewModel = new ProfileViewModel
            {
                Profile = new ProfileModel()
            };
            viewModel.Profile.CurrentUser = CurrentSessionApplicationState.CurrentUser;

            if (newPassword != confirmPassword)
            {
                ModelState.AddModelError("changePwdForm", "The new password does not match the confirm new password.");
                return View(viewModel);
            }

            //Update password in database...
            var id = CurrentSessionApplicationState.CurrentUser.profile.PersonGUID;
            _userRepository.ChangePassword(id, currentPassword, newPassword);

            //Redirect to the home page and call it good.
            return View("PasswordChanged");
        }
        public ActionResult Profile()
        {
            //Get the current user's ID
            var viewModel = new ProfileViewModel
            {
                Profile = new ProfileModel()
            };
            viewModel.Profile.CurrentUser = CurrentSessionApplicationState.CurrentUser;

            return View(viewModel);
        }