adds type of jsonchessMessageTypes.user to chat messages in Application