add prompt cmds in rpc ret, filter cmds, add event logger