uffled[0];
  if (expectedDetails.action == 'reply') {
    expectedDetails.reply = ui_utils.generateWords(1,5);
  } else if (expectedDetails.action == 'forward') {
    expectedDetails.forward = shuffled[1].name;
  }

  var emailQuery = displayQuery(expectedDetails);

  var login_state = -1.0
  // login-user
  var div = d3.select('#area');
  div.append('div').attr('id', 'form');
  var form = d3.select('#form');
  form.html('<p><label class="bold">Username</label><input type="text" id="username"></p><p><label 