Added log to ViewController