adding login and logout to the header