Make session persistent between searches
fix download URL construction error