improvements windows authentication