added creation of session data dir if not exists