Chat application using encoders and decoders