public void LoginToAccount(string login, string password)
 {
     if (login.Length < 8 || password.Length < 8)
     {
         System.Windows.MessageBox.Show("Incorrect login or password");
         return;
     }
     if (passwordManager.Passwords == null)
     {
         passwordManager.Load(PswFileName);
     }
     if (passwordManager.VerifyPassword(password, login))
     {
         passwordManager.Decrypt(password, login);
         SetView(typeof(PasswordList));
         mediator.SendTo(this, typeof(PasswordListViewModel), new object[] { passwordManager.Passwords });
     }
     else
     {
         System.Windows.MessageBox.Show("Incorrect login or password");
     }
 }