refactor to use state.gw2w2w.com instead of managing state locally