add logic for parsing message from server