core: Rewireing the page session