public boolean sendMessage(String message) {
        System.out.println("Controller:sendMessage() is working");
        try {
            String computername = InetAddress.getLocalHost().getHostName();
            OtpErlangObject[] tuple = new OtpErlangObject[2];
            tuple[0] = new OtpErlangAtom("message");
            tuple[1] = new OtpErlangAtom(message);
//            System.out.println(new OtpErlangTuple(message));
//            System.out.println(bar);
            mbox.send("clientChat", "chat_c@" + computername, new OtpErlangTuple(tuple));
            return true;
        } catch (Exception e) {
            System.out.println("Exception caught =" + e.getMessage());
        }
        return false;
    }