Adding queries for sending/recieivng messages.