Update UserHelper.java

refactored