Improving sessions path generation