public void LogIn(string email, string password)
 {
     if (VerifyAccount.VerifyExistingAccount(email, password, AccountsList) != null)
     {
         Session.LoggedInUser = VerifyAccount.VerifyExistingAccount(email, password, AccountsList);
         MessageBox.Success("You have logged in successfully.");
         Navigate.ActivateFrameNavigation(typeof(MainPage));
     }
 }
 public void LogIn(string email, string password)
 {
     if (VerifyAccount.VerifyExistingAccount(email, password, AccountsList) != null)
     {
         // MessageBox.Success("You have logged in successfully.");
         Navigate.ActivateFrameNavigation(typeof(MainPage));
     }
     else
     {
         //  MessageBox.Fail("Login failed.");
     }
 }