Add storing previous path in Session service
Fixes on parsing next path