Spring Security User Registration with Hibernate and Thymeleaf