fixed user handling for command execution