, and then ' + emailQuery);
  // d3.select('#query').html(emailQuery + ', after entering the <span class="bold">username</span> "' + user + '" and the <span class="bold">password</span> "' + password + '" into the text fields and pressing login.');

  // reward awarder
  d3.select('#subbtn').on('click', function(){
    var u = d3.select('#username')[0][0].value;
    var p = d3.select('#password')[0][0].value;
    login_state = (u === user && p === password) ? 1.0 : -1.0;
    $('#main').removeClass('hide');
