fixed bug in reject invitation
Merge branch 'api_overhaul' into design_integration