Alter header to to check login status.