Spring Security Added with Hibernate Changes