Added the logout operation

The status of the login is checked everytime the header is loaded.

Thus ensuring that all the views load the header before them, ensures that the login is always checked.

Fixed issue #1.