Such a problem that 2 header.
The task is to change the header when entering.
Through php I call the second header. C help include.
And my first header is registered in index.php.
<header class="header"> <div> <?php include('navigation.php'); ?> </header> Is there something that removes the default header?

ifinside of the navigation.php and check whether the user is authorized or not, and correspondingly that header and give. - Dmitry Miroshnichenko