extend chat server and ui to handle user reload and room change rendering