Save and get sessions and workspaces