ok so this will only work in a single page app?