changed form validator, implemented CaptchaImageGenerator.java