Make the header switch login/logout according to auth