added case for rejection of invitation