implemented get_html, and fixed cookie bug