Adding date attribute in UserSearchUtils.java and also removed a few unnecessary joins