finish invite member and agree join group

1. add invite member logic
2. add agree join group logic