chatbox improved and message sending added