add captcha function

function for get captcha code