implemented rooms and chat