Add handle method and complete FrameMainChat