private void buttonCube_Click(object sender, RoutedEventArgs e)
        {
            var loginWindow = new CubeWindow(this, user);

            loginWindow.Show();
        }
 private void buttonCube_Click(object sender, RoutedEventArgs e)
 {
     var loginWindow = new CubeWindow(this, user);
     loginWindow.Show();
 }