1. add log for struts.
2. add security filter for register.