Suport for login and log out in the header