Because the header can either be the signed off header, or the signed in header. I copied the technique used for the public project pages.