revert back to old login_header code