Logging added to HookController