Fix issue of secret link

If user copy the link from browser and the link is already convert to
the url containing 'init', it will exit. Now fix it.