code: private UserInterface fromUser(User user) {
          return new UserInterface(user.getId(), user.getUsername(), user.getIpAddress(),
              user.getEmail(), user.getData());
      }
docs: Builds a {@link UserInterface} object from a {@link User} object.
  @param user User
  @return UserInterface