Handled joining and leaving messages in client and server. Still need to convert messages from JSON to normal text