improvement windows authentication