add window history state
add client chat test