Added log message in view controller.m