chat now differentiates between client and server senders