Update UserDetails.java

code review