add re-challenge feature to invite.php