fix session restore
adds js-based captcha functionality