added success and failure confirmations for message sending