Added message sending and receiving