add clear all, and fix opt-out
save hashes instead of the url
use batch api