implement invitation acceptance & rejection