private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     var window = new UsersWindow(logged);
     window.Show();
 }
 private void manageUsersButton_Click(object sender, RoutedEventArgs e)
 {
     var window = new UsersWindow(user);
     window.Show();
     Close();
 }