added compose message and set message state read/unread methods