Added route session middleware