private void login_Click(object sender, RoutedEventArgs e)
 {
     if (methods.Authorization(emailtextbox.Text, passwordbox.Password))
     {
         var menuwindow = new MenuWindow(methods);
         menuwindow.Show();
         this.Close();
     }
     else
     {
         MessageBox.Show("Incorrect login/password");
     }
 }