update addGroupChat method to throw exception