reload after page is shown, add discourse cookies