using thymeleaf template and fixed static file path issue