getting invitation acceptance working