Make sessions and close protected