private void LogoutEvent(object sender, System.Windows.RoutedEventArgs e)
        {
            ClientServerUtil usr = ClientServerUtil.getInstance();

            usr.logout();
            LoginPanel.IsOpen          = true;
            UsernameIfLoggedIn.Content = "";
            clearToolbox();
            clearGrid();
            clearFactoryPulldown();
        }