Adding API call for /api/new_captcha