don't re-define the localuser struct for custom use inside the module (issue #6216)