Add public method generate captcha