Fixing sign out on iPad