Add logging to accessDenied in MainWindowController