Persist cookies and pull network into common class