anchor.diff:    query('#formulary').on.submit.add(newQuery);
     query('#form_login').on.submit.add(login);
     query('#logout').on.click.add(logout);
  +  query('#close').on.click.add(hide_error);
  +}
  +
  +void hide_error (event) {
  +  DivElement error = query('#error');
  +  error.style.display = 'none';
   }
   
   void login(event){
  
positive.code:   
    // Add an event handler to call the onSuccess function when the POST call is successful
    req.on.readyStateChange.add((Event e) {
      if (req.readyState == XMLHttpRequest.DONE && (req.status == 200)) {
        DivElement div_loggin = query('#log_form');
        div_loggin.style.display = 'none';
        
        DivElement logged_user = query('#logged_user');
        logged_user.style.display = '';
        logged_user.text = user;
        
        DivElement div_loggout_button = query('#logout_button');
        div_loggout_button.style.display = '';
      } else {
        print(req.status);
        print("ERROR DE LOGIN!!!!");
      }
    });
  
  
negative.code:   ImageElement image2 = query('#img2');
    image2.src = weatherToday["weatherIconUrl"][0]["value"];
    
    // Tomorrow's forecast
    var weatherTomorrow = parsedJSON["data"]["weather"][1];
    query('#dateTomorrow').text = weatherTomorrow["date"];
    query('#description3').text = weatherTomorrow["weatherDesc"][0]["value"];
  