private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            User user = UserDatabase.CheckAccountAreadyInApp();

            if (user != null)
            {
                MainControl m = new MainControl(user, "");
                m.Show();
                Window.GetWindow(this).Hide();
            }
            else
            {
            }
        }