save instance url in session