Update routes to support session handling.