Login check added to the header