Login case

Update the ios version of the logging example