/** Set the user id for authentication. */
 public void setUserId(String id) {
   setString(INDEX_USER_ID, MAX_USER_ID_LENGTH, id);
 }