Fixed the header, it recognizes now logged-in users
fixed header, id checks if logged in or not