Implemented session import and export