bad token and clear the nav on static pages