improvements of the header navigation bar

- add the login and logout buttons according to the authentication
status
- move the section tag outside of the twig block mainContent