refactor struts, captcha