Add Logging to Controller