add chat module
split chat module into user & chat