removes invite once accepted.