added captcha handling and captcha handler interface