basic communication over ws working