added functionality for message between two clients