Making the server return messages