header with login & logout working properly