Added /api/new_captcha method