added message id and clear function to message_composer