moved Compose inside messaging