Added logger to node controller