added a Compose Message functionality