added group chat handler/fixed bugs in user