Messaging impl step 1: added message sending after search