deletion of captcha moved to captcha_check func