restore changing url when session data loads