private void addButtonHandlers() {
        connectButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                //todo :Work on if else
                if (serverNameText.getText().equals("")) {
                    status.setText("Invalid Server Name");
                } else {
                    if (!sentConnection) {
                        controller.connectToServer();
                        sentConnection = true;
                    }
                }
            }
        });
    }