connected between gui chat and everything else