[feature]user can accept or decline an invitation
Merge pull request #199 from peterzd/api_invites

[feature]user can accept or decline an invitation