Patched up errors in UserHelper.java