save root path into cookie, so data will match across the site