check that invitation hasnt been used yet