applying header in class alteraLivro.php