add basic echo handler