Attempted to sanitize message input on client side, also need to be done on server side. Not yet tested