anchor.diff:  ButtonElement inButton;
   ButtonElement userButton;
   
  -var request;
  -var requestDos;
  -var serverResponse;
  -var tokenid = "";
  +var token = "";
  +var authUrl = "http://localhost:8080/auth";
  +var usersUrl = "http://localhost:8080/admin/user";
  +String client;
  +String password;
  +
   
   void main() {
     initNavMenu();
     inButton = querySelector('#inButton');
  -  inButton.onClick.listen(getResponse);
  +  inButton.onClick.listen(login);
   
     userButton = querySelector('#userButton');
     userButton.onClick.listen(getUsers);
  
positive.code:   querySelector('#about').style.display = '';
  }
  
  void showHello(RouteEvent e) {
    // Extremely simple and non-scalable way to show different views.
    querySelector('#home').style.display = 'none';
    querySelector('#about').style.display = '';
  }
  
  void showHome(RouteEvent e) {
    querySelector('#home').style.display = '';
    querySelector('#about').style.display = 'none';
  }
  
  void getResponse(Event e) {
    var url = "http://localhost:8080/auth?email="+querySelector("#name").value+"&password="+querySelector("#pass").value;
  
    request = new HttpRequest();
    request.onReadyStateChange.listen(onData);
    request.open('POST', url);
    request.send();
    print(request.responseText);
  }
  
  void showButtonsForUser(){
    
    querySelector('#userButton').style.display = '';
    
  }
  void setUserSession(){
      querySelector('#home_login').style.display = 'none';
      querySelector('#home_welcome').style.display = '';
  
negative.code: 
  
  void getUsers(Event e) {
    
    var basic = "Basic " + token;
    Map header =  {'Authorization': basic};
    
    HttpRequest.request(usersUrl, requestHeaders : header).then((HttpRequest req) {
  
       //Map data = JSON.decode(req.response);
  
       draw(req.response);
  
     });
  
  }
  