reload the page and lose all state when unauthorized