Changed Chat Receive and Send method