prova a chiudere l'IF

Codice PHP:
header("Location: Index2.php");
   } 
 } 
}else{ 
//qui chiudi
  

 } 

// form per l'autenticazione ?>