private void runSecurityDisplay(Scanner scan, PrintWriter pout)
        {
            if(sout != null)
            {
                sendMessage("another", pout);
                return;
            }
            sout = pout;
            sout.println("successful connection!");
            
            while(theSocket.isConnected())
            {
                if(theSocket.isClosed())
                    break;
                try 
                {
                    Thread.sleep(2000);
                } 
                catch (InterruptedException e) 
                {
                    System.out.println(e);
                }
                sendStatus();
            }

            sout = null;
            displayConnections.put("security", null);
            
            
            
            
        }