fix the error of the apple id logout