public ActionResult Password(UserPassw post)
 {
     try
     {
         UserPassw passw = new UserPassw(shared);
         passw.Copy(post);
         passw.id = Session["user_id"].ToString();
         passw.ChangePassword();
         Init("cabinet_password");
         if (shared.error.AnyError())
         {
             return(View(passw));
         }
         return(RedirectToAction("Logout", "Login"));
     }
     catch (Exception ex)
     {
         return(ShowError(ex));
     }
 }