Adds session redirect to index route