Added state check into Windows Live provider