creates captcha image from stored in the session captcha string;first commit