Update User.java

The way UNIQUE is implemented in Spring data is using unique=true and not IndexType.UNIQUE