// this will transparently redirect to the requested document on page load