wrote messages ui