Fixed bug in example of Loggining.