adds message_sent signal