Improving session management by storing initial path and store session only there (some plugins change directories and sessions can mix up)