resume improve by LoaYang
Add invitation code
Merge remote branch 'origin/sunset' into jannson
support for resume