SPA basedchat client